<?php

namespace catchAdmin\phone\controller;

use catcher\CatchResponse;

class ZhaoPinBao extends LoginCatchController
{

    private $model = null;


    public function __construct()
    {
        parent::__construct();

        $this->model = (new \catchAdmin\phone\model\ZhaoPinBao());
    }


    /**
     * 保存
     */
    public function save()
    {
        $param = request()->param();

        return CatchResponse::success($this->model->saveData($param));
    }


    ############################################################################################


    /**
     * 报名人员列表
     */
    public function indexBao()
    {
        $param = request()->param();

        return CatchResponse::success($this->model->indexBao($param));
    }


    /**
     * 报名人看已报名招聘列表
     */
    public function indexBaoSelf()
    {
        $param = request()->param();

        return CatchResponse::success($this->model->indexBaoSelf($param));
    }

}
